Skip to content

Conversation

@CodeWithKyrian
Copy link
Contributor

This PR addresses a runtime error where Promise::catch() is undefined. This occurs when a project using php-mcp/server has an older version of react/promise (e.g., v2.x) installed due to constraints from other packages or the project's own composer.json.

@CodeWithKyrian CodeWithKyrian merged commit 7b25d5d into main Jun 12, 2025
8 checks passed
@CodeWithKyrian CodeWithKyrian deleted the 17-explicitly-require-reactpromise-3-to-ensure-reactpromisepromisecatch-exists branch June 21, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicitly require "react/promise" ^3 to ensure \React\Promise\Promise::catch() exists

2 participants